package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;

/**
 * sys_user_info
 */
@Table(name = "sys_user_info")
public class SysUserInfo implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName = "data_id", jdbcType = "VARCHAR", javaType = String.class, length = 36, scale = 0)
    private String dataId;

    /**
     * 用户名
     */
    public static final String USERNAME = "userName";

    /**
     * 用户名
     */
    @Field(columnName = "user_name", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String userName;

    /**
     * 密码
     */
    public static final String PWD = "pwd";

    /**
     * 密码
     */
    @Field(columnName = "pwd", jdbcType = "VARCHAR", javaType = String.class, length = 255, scale = 0)
    private String pwd;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return userName
     *         用户名
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName
     *         用户名
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * @return pwd
     *         密码
     */
    public String getPwd() {
        return pwd;
    }

    /**
     * @param pwd
     *         密码
     */
    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }
}